﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.EditViewModelExtensions
{
    public class ClienteJolitexEditViewModel : JolitexEditViewModel<Cliente>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Cliente model)
        {
            yield return new TextBoxField("Código Jolitex", "codigo", model.ClienteJolitex.Codigo, true);
            yield return new TextBoxField("Região", "regiao", model.ClienteJolitex.Regiao, true);
        }
    }
}